package persistent.dao;

import java.util.List;

import model.TUser;
import model.VUser;

public interface UserDAO {
	public VUser login(String userid,String password);
	public boolean addNormalUser(String userid,String password,String nickname);
	public boolean modifyNormalUser(String userid,String password,String nickname);
	public boolean upgradeBlogerUser(TUser blogeruser);
	public boolean modifyNormalUser(TUser blogeruser);
	public List<VUser> getAllBolgeruser();
	public TUser getTUserById(String userid);
	public VUser getVUserById(String userid);
	public boolean isValidateUserid(String userid);
}
